/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package com.yxw.live_vod_facade.dto;



import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.objects.annotations.Getter;
import lombok.Data;

/*** 
*@author Jiaxu.Huang
*@date 2023/12/4 17:31:17
*@update 2023/12/4 17:31:17
**/
@Data
public class YxLiveViolationQueryDTO implements Serializable
{
    private static final long serialVersionUID = 61701682277482L;
    /**
    *违规Id
    */
    @ApiModelProperty(value = "违规Id")
    private Integer Id;
    /**
    *违规原因
    */
    @ApiModelProperty(value = "违规原因")
    private String violationReson;
    /**
    *违规说明
    */
    @ApiModelProperty(value = "违规说明")
    private String violationDescrption;
    /**
    * 处罚类别:0罚款,1直播流,2直播间
    */
    @ApiModelProperty(value = " 处罚类别:0罚款,1直播流,2直播间")
    private Integer punishType;
    /**
    * 处罚数量
    */
    @ApiModelProperty(value = " 处罚数量")
    private Integer punishQuantity;
    /**
    * 处罚单位: (处罚类别为0罚款)视频币,(处罚类别为1直播流,中断直播)分钟,(处罚类别为2直播间,禁播)天
    */
    @ApiModelProperty(value = " 处罚单位: (处罚类别为0罚款)视频币,(处罚类别为1直播流,中断直播)分钟,(处罚类别为2直播间,禁播)天")
    private String punishUnit;
    /**
    *创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createStartTime;
    /**
    *创建时间
    */
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createEndTime;    
    /**
     * 唯一请求id
     */
    @ApiModelProperty(value = "唯一请求id", required = false)
//    @NotBlank(message = "唯一请求id不能为空")
    protected String requestId;


    @ApiModelProperty(value = "当前页", required = false)
    private Integer currPage;

    @ApiModelProperty(value = "每页数据条数", required = false)
    private Integer pageSize;


    @Getter
    public Integer getCurrPage() {
        return null == currPage ? 0 : currPage;
    }

    @Getter
    public Integer getPageSize() {
        return null == pageSize ? 10 : pageSize;
    }
}